﻿@using TomNet.IMSC.Model.DbModels.Organization;

@{
    Layout = null;

    var entity = ViewData["entity"] as Intermediary;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <link href="~/Content/Css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="~/Content/Css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="~/Content/Css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
    <link href="~/Content/Css/animate.css" rel="stylesheet">

    <link href="~/Content/Css/plugins/webuploader/webuploader.css" rel="stylesheet" type="text/css" >
    <link href="~/Content/Css/demo/webuploader-demo.css" rel="stylesheet" type="text/css" >

    <link href="~/Content/Css/style.css?v=4.1.0" rel="stylesheet">
    <link href="~/Content/Css/plugins/bootstrap-fileinput/fileinput.min.css" media="all" rel="stylesheet" type="text/css" />
    <title>修改执照图片</title>
    <link href="~/Scripts/plugins/jcrop1902/css/jquery.Jcrop.min.css" rel="stylesheet" />
</head>
<body>
    <div class="wrapper wrapper-content animated fadeInRight">

        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-content layer-photos-demo" id="layer-photos-demo">

                        <a href="#" title="图片1">
                            <img alt="image" src="@entity.LicenceImage" style="width:300px;"/>
                        </a>

                    </div>
                </div>
            </div>
        </div>

        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    
                    <div class="ibox-content">
                        <div class="page-container">
                            
                            <div id="uploader" class="wu-example">
                                <div class="queueList">
                                    <div id="dndArea" class="placeholder">
                                        <div id="filePicker"></div>
                                        <p>或将照片拖到这里</p>
                                    </div>
                                </div>
                                <div class="statusBar" style="display:none;">
                                    <div class="progress">
                                        <span class="text">0%</span>
                                        <span class="percentage"></span>
                                    </div>
                                    <div class="info"></div>
                                    <div class="btns">
                                        <div id="filePicker2"></div>
                                        <div class="uploadBtn">开始上传</div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                
                </div>
            </div>
        </div>

    </div>

    <!-- 全局js -->
    <script type="text/javascript" src="~/Scripts/jquery.min.js?v=2.1.4"></script>
    <script type="text/javascript" src="~/Scripts/bootstrap.min.js?v=3.3.6"></script>

    <!-- layer javascript -->
    <script type="text/javascript" src="~/Scripts/plugins/layer/layer.min.js"></script>

    <!-- bootstrap-fileinput -->
    <script type="text/javascript" src="~/Scripts/plugins/bootstrap-fileinput/fileinput.min.js"></script>
    <script type="text/javascript" src="~/Scripts/plugins/bootstrap-fileinput/locales/zh.js"></script>
    @*<script src="~/Scripts/plugins/bootstrap-fileinput/fileinput.js"></script>*@

    <!-- 自定义js -->
    <script src="~/Scripts/content.js?v=1.0.0"></script>

    <!-- Web Uploader -->
    <script type="text/javascript">
        // 添加全局站点信息
        var id = '@entity.Id';
        var BASE_URL = '~/Scripts/plugins/webuploader';
        var UPLOAD_URL = '/Intermediary/UploadImageAsync?id='+id;
    </script>
    <script src="~/Scripts/plugins/webuploader/webuploader.min.js"></script>
    <script src="~/Scripts/Apply/uploadimgs.js"></script>

    <!-- jQuery Validation plugin javascript-->
    <script type="text/javascript" src="~/Scripts/plugins/validate/jquery.validate.min.js"></script>
    <script type="text/javascript" src="~/Scripts/plugins/validate/messages_zh.min.js"></script>
    <script type="text/javascript" src="~/Scripts/Extensions/ExtValidator.js"></script>
    <script src="~/Scripts/plugins/jcrop1902/js/jquery.Jcrop.min.js"></script>
    <script src="~/Scripts/plugins/jcrop1902/js/jquery.color.js"></script>
    
</body>

</html>
